package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dto.ShopWantBuyOrderPageVO;
import com.sc.nft.dto.WantBuyDTO;
import com.sc.nft.entity.ScrollWantBuy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 卷轴商店求购表(sc_scroll_want_buy)数据Mapper
 *
 * @author zxy
 * @since 2024-09-04 02:15:00
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface ScrollWantBuyMapper extends BaseMapper<ScrollWantBuy> {

    Page<WantBuyDTO> wantBuyPage(Page page, @Param("userId") Long userId,@Param("shopId") Long shopId,@Param("inDao") boolean inDao);

    Page<ShopWantBuyOrderPageVO> wantBuyOrderPage(Page page,@Param("shopName") String shopName,@Param("shopNum") String shopNum,@Param("userTel") String userTel);
}
